package com.contract.spirit.func.net

import com.contract.commonlib.base.BaseViewModel
import com.contract.commonlib.http.RetrofitUtil

/**
 * @author: witness
 * created: 2021/9/17
 * desc:
 */
val BaseViewModel.rxApi: ApiService
    get() = RetrofitUtil.getInstance().retrofit?.create(ApiService::class.java)!!